#ifndef __KERNEL_H
#define __KERNEL_H

#define MAXMEM 128 * 0x400 * 0x400

#include <multiboot.h>

typedef struct vc
{
	unsigned scsr_x, scsr_y, csr_x, csr_y, attrib, esc, esc1, esc2, esc3;
	unsigned short *vidmem;
} vc_t;

extern void init_text();
extern void gdt_install();
extern void idt_install();
extern void isrs_install();
extern void irq_install();
extern void timer_install();
extern void kb_install();
extern void set_timer_freq(unsigned int);
extern void timer_wait(unsigned long);
extern void init(unsigned long, unsigned long);
extern void parse_mmap(multiboot_info_t *);
extern void *get_phys_page();

#endif
